home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
machack
/
Hacks97
/
WarriorsProgress.sit
/
Warrior’s Progress
/
source code
/
Source
/
Libraries
/
Files
/
VolumeID.h
< prev
next >
Wrap
Text File
|
1997-06-28
|
480b
|
29 lines
// VolumeID.h
#ifndef VolumeID_h
#define VolumeID_h
#ifndef Integers_h
#include "Integers.h"
#endif
class VolumeID
{
private:
int16 refNum;
VolumeID( int16 value )
: refNum( value )
{}
public:
static VolumeID Make( int16 value ) { return value; }
int16 RefNum() const { return refNum; }
bool operator==( VolumeID f ) const { return refNum == f.refNum; }
bool operator!=( VolumeID f ) const { return refNum != f.refNum; }
};
#endif